package com.hk.springcloud.dao;

import com.hk.springcloud.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: yangkl
 * @Date: 2020/7/9 17:30
 * @Description
 */
//@Mapper
public interface DeptDao {

    boolean addDept(Dept dept);

    Dept findById(Long id);

    List<Dept> findAll();
}
